package com.ideaction.entity.player;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 保存于服务器的资源数据
 */
@Getter
@Setter
@Document
public class ResourceData {
    
    @JsonIgnore
    private String _id;
    
    @JsonProperty("UserId")
    private String userId;
    
    @JsonProperty("Diamond")
    private int diamond;
    
}
